
app:registClass("AvatarShopController", "app.avatarShop.controllers.AvatarShopController")

app:registInst(import(".models.AvatarShopModel").new())

app:registInst(app:getClass("AvatarShopController").new({type="systemUI"}))

app.session:on("pb_activity.S2C_BarberUnSeeRedPointUpdate", function(msg)
    app:sendMsg("AvatarShopModel", "S2C_BarberUnSeeRedPointUpdate", msg)
end)